﻿using System;
using System.Windows.Forms;

namespace AutoExtractor
{
    public partial class AddPassword : Form
    {
        public AddPassword()
        {
            InitializeComponent();
            pwdToAdd.Text = Clipboard.GetText();
        }

        public string GetPwd()
        {
            return pwdToAdd.Text;
        }

        private void okButton_Click(object sender, EventArgs e)
        {
            Hide();
        }

        private void cancelButton_Click(object sender, EventArgs e)
        {
            Hide();
        }
    }
}
